import request from '@/utils/request'

// 查询民事公益诉讼流程情况列表
export function listProcesscivil(query) {
  return request({
    url: '/system/processcivil/list',
    method: 'get',
    params: query
  })
}

// 查询民事公益诉讼流程情况详细
export function getProcesscivil(id) {
  return request({
    url: '/system/processcivil/' + id,
    method: 'get'
  })
}

// 新增民事公益诉讼流程情况
export function addProcesscivil(data) {
  return request({
    url: '/system/processcivil',
    method: 'post',
    data: data
  })
}

// 修改民事公益诉讼流程情况
export function updateProcesscivil(data) {
  return request({
    url: '/system/processcivil',
    method: 'put',
    data: data
  })
}

// 删除民事公益诉讼流程情况
export function delProcesscivil(id) {
  return request({
    url: '/system/processcivil/' + id,
    method: 'delete'
  })
}
